package com.gdit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author fgba
 * @since 2021-09-07
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class Role {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 角色代码
     */
    private String code;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态，0为正常，1为禁用
     */
    @TableLogic(value = "0",delval = "1")
    private Integer status;
}
